<template>
	<div>
		 父组件
		<Child>
			<div slot="s1">
				<p>我是插槽1.1</p>
				<p>我是插槽1.2</p>
			</div>
			<p slot="s2">我是插槽2</p>
			<p slot-scope="key" slot="s3">{{ key.text }}</p>
			<!-- 2.5版本之前 -->
		<!-- 	<template slot-scope="key" slot="s3">
				{{ key.text }}
			</template> -->
		</Child>
	</div>
</template>
<script>
	import Child from "./Child"
	export default {
		name:"parent",
		data(){
			return{
			
			}
		},
		methods: {
			
		},
		components: {
			Child
		},
		computed: {
			
		}
	}
</script>
<style scoped>
	
</style>